package com.xiaohu.mayi_huiyuan.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class YuebiaoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YuebiaoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCustomeridIsNull() {
            addCriterion("customerid is null");
            return (Criteria) this;
        }

        public Criteria andCustomeridIsNotNull() {
            addCriterion("customerid is not null");
            return (Criteria) this;
        }

        public Criteria andCustomeridEqualTo(Integer value) {
            addCriterion("customerid =", value, "customerid");
            return (Criteria) this;
        }

        public Criteria andCustomeridNotEqualTo(Integer value) {
            addCriterion("customerid <>", value, "customerid");
            return (Criteria) this;
        }

        public Criteria andCustomeridGreaterThan(Integer value) {
            addCriterion("customerid >", value, "customerid");
            return (Criteria) this;
        }

        public Criteria andCustomeridGreaterThanOrEqualTo(Integer value) {
            addCriterion("customerid >=", value, "customerid");
            return (Criteria) this;
        }

        public Criteria andCustomeridLessThan(Integer value) {
            addCriterion("customerid <", value, "customerid");
            return (Criteria) this;
        }

        public Criteria andCustomeridLessThanOrEqualTo(Integer value) {
            addCriterion("customerid <=", value, "customerid");
            return (Criteria) this;
        }

        public Criteria andCustomeridIn(List<Integer> values) {
            addCriterion("customerid in", values, "customerid");
            return (Criteria) this;
        }

        public Criteria andCustomeridNotIn(List<Integer> values) {
            addCriterion("customerid not in", values, "customerid");
            return (Criteria) this;
        }

        public Criteria andCustomeridBetween(Integer value1, Integer value2) {
            addCriterion("customerid between", value1, value2, "customerid");
            return (Criteria) this;
        }

        public Criteria andCustomeridNotBetween(Integer value1, Integer value2) {
            addCriterion("customerid not between", value1, value2, "customerid");
            return (Criteria) this;
        }

        public Criteria andXiaofeieIsNull() {
            addCriterion("xiaofeie is null");
            return (Criteria) this;
        }

        public Criteria andXiaofeieIsNotNull() {
            addCriterion("xiaofeie is not null");
            return (Criteria) this;
        }

        public Criteria andXiaofeieEqualTo(BigDecimal value) {
            addCriterion("xiaofeie =", value, "xiaofeie");
            return (Criteria) this;
        }

        public Criteria andXiaofeieNotEqualTo(BigDecimal value) {
            addCriterion("xiaofeie <>", value, "xiaofeie");
            return (Criteria) this;
        }

        public Criteria andXiaofeieGreaterThan(BigDecimal value) {
            addCriterion("xiaofeie >", value, "xiaofeie");
            return (Criteria) this;
        }

        public Criteria andXiaofeieGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("xiaofeie >=", value, "xiaofeie");
            return (Criteria) this;
        }

        public Criteria andXiaofeieLessThan(BigDecimal value) {
            addCriterion("xiaofeie <", value, "xiaofeie");
            return (Criteria) this;
        }

        public Criteria andXiaofeieLessThanOrEqualTo(BigDecimal value) {
            addCriterion("xiaofeie <=", value, "xiaofeie");
            return (Criteria) this;
        }

        public Criteria andXiaofeieIn(List<BigDecimal> values) {
            addCriterion("xiaofeie in", values, "xiaofeie");
            return (Criteria) this;
        }

        public Criteria andXiaofeieNotIn(List<BigDecimal> values) {
            addCriterion("xiaofeie not in", values, "xiaofeie");
            return (Criteria) this;
        }

        public Criteria andXiaofeieBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("xiaofeie between", value1, value2, "xiaofeie");
            return (Criteria) this;
        }

        public Criteria andXiaofeieNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("xiaofeie not between", value1, value2, "xiaofeie");
            return (Criteria) this;
        }

        public Criteria andChongzhieIsNull() {
            addCriterion("chongzhie is null");
            return (Criteria) this;
        }

        public Criteria andChongzhieIsNotNull() {
            addCriterion("chongzhie is not null");
            return (Criteria) this;
        }

        public Criteria andChongzhieEqualTo(BigDecimal value) {
            addCriterion("chongzhie =", value, "chongzhie");
            return (Criteria) this;
        }

        public Criteria andChongzhieNotEqualTo(BigDecimal value) {
            addCriterion("chongzhie <>", value, "chongzhie");
            return (Criteria) this;
        }

        public Criteria andChongzhieGreaterThan(BigDecimal value) {
            addCriterion("chongzhie >", value, "chongzhie");
            return (Criteria) this;
        }

        public Criteria andChongzhieGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("chongzhie >=", value, "chongzhie");
            return (Criteria) this;
        }

        public Criteria andChongzhieLessThan(BigDecimal value) {
            addCriterion("chongzhie <", value, "chongzhie");
            return (Criteria) this;
        }

        public Criteria andChongzhieLessThanOrEqualTo(BigDecimal value) {
            addCriterion("chongzhie <=", value, "chongzhie");
            return (Criteria) this;
        }

        public Criteria andChongzhieIn(List<BigDecimal> values) {
            addCriterion("chongzhie in", values, "chongzhie");
            return (Criteria) this;
        }

        public Criteria andChongzhieNotIn(List<BigDecimal> values) {
            addCriterion("chongzhie not in", values, "chongzhie");
            return (Criteria) this;
        }

        public Criteria andChongzhieBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("chongzhie between", value1, value2, "chongzhie");
            return (Criteria) this;
        }

        public Criteria andChongzhieNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("chongzhie not between", value1, value2, "chongzhie");
            return (Criteria) this;
        }

        public Criteria andChongzhiyueIsNull() {
            addCriterion("chongzhiyue is null");
            return (Criteria) this;
        }

        public Criteria andChongzhiyueIsNotNull() {
            addCriterion("chongzhiyue is not null");
            return (Criteria) this;
        }

        public Criteria andChongzhiyueEqualTo(BigDecimal value) {
            addCriterion("chongzhiyue =", value, "chongzhiyue");
            return (Criteria) this;
        }

        public Criteria andChongzhiyueNotEqualTo(BigDecimal value) {
            addCriterion("chongzhiyue <>", value, "chongzhiyue");
            return (Criteria) this;
        }

        public Criteria andChongzhiyueGreaterThan(BigDecimal value) {
            addCriterion("chongzhiyue >", value, "chongzhiyue");
            return (Criteria) this;
        }

        public Criteria andChongzhiyueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("chongzhiyue >=", value, "chongzhiyue");
            return (Criteria) this;
        }

        public Criteria andChongzhiyueLessThan(BigDecimal value) {
            addCriterion("chongzhiyue <", value, "chongzhiyue");
            return (Criteria) this;
        }

        public Criteria andChongzhiyueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("chongzhiyue <=", value, "chongzhiyue");
            return (Criteria) this;
        }

        public Criteria andChongzhiyueIn(List<BigDecimal> values) {
            addCriterion("chongzhiyue in", values, "chongzhiyue");
            return (Criteria) this;
        }

        public Criteria andChongzhiyueNotIn(List<BigDecimal> values) {
            addCriterion("chongzhiyue not in", values, "chongzhiyue");
            return (Criteria) this;
        }

        public Criteria andChongzhiyueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("chongzhiyue between", value1, value2, "chongzhiyue");
            return (Criteria) this;
        }

        public Criteria andChongzhiyueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("chongzhiyue not between", value1, value2, "chongzhiyue");
            return (Criteria) this;
        }

        public Criteria andFanxianeIsNull() {
            addCriterion("fanxiane is null");
            return (Criteria) this;
        }

        public Criteria andFanxianeIsNotNull() {
            addCriterion("fanxiane is not null");
            return (Criteria) this;
        }

        public Criteria andFanxianeEqualTo(BigDecimal value) {
            addCriterion("fanxiane =", value, "fanxiane");
            return (Criteria) this;
        }

        public Criteria andFanxianeNotEqualTo(BigDecimal value) {
            addCriterion("fanxiane <>", value, "fanxiane");
            return (Criteria) this;
        }

        public Criteria andFanxianeGreaterThan(BigDecimal value) {
            addCriterion("fanxiane >", value, "fanxiane");
            return (Criteria) this;
        }

        public Criteria andFanxianeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fanxiane >=", value, "fanxiane");
            return (Criteria) this;
        }

        public Criteria andFanxianeLessThan(BigDecimal value) {
            addCriterion("fanxiane <", value, "fanxiane");
            return (Criteria) this;
        }

        public Criteria andFanxianeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fanxiane <=", value, "fanxiane");
            return (Criteria) this;
        }

        public Criteria andFanxianeIn(List<BigDecimal> values) {
            addCriterion("fanxiane in", values, "fanxiane");
            return (Criteria) this;
        }

        public Criteria andFanxianeNotIn(List<BigDecimal> values) {
            addCriterion("fanxiane not in", values, "fanxiane");
            return (Criteria) this;
        }

        public Criteria andFanxianeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fanxiane between", value1, value2, "fanxiane");
            return (Criteria) this;
        }

        public Criteria andFanxianeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fanxiane not between", value1, value2, "fanxiane");
            return (Criteria) this;
        }

        public Criteria andFanxianyueIsNull() {
            addCriterion("fanxianyue is null");
            return (Criteria) this;
        }

        public Criteria andFanxianyueIsNotNull() {
            addCriterion("fanxianyue is not null");
            return (Criteria) this;
        }

        public Criteria andFanxianyueEqualTo(BigDecimal value) {
            addCriterion("fanxianyue =", value, "fanxianyue");
            return (Criteria) this;
        }

        public Criteria andFanxianyueNotEqualTo(BigDecimal value) {
            addCriterion("fanxianyue <>", value, "fanxianyue");
            return (Criteria) this;
        }

        public Criteria andFanxianyueGreaterThan(BigDecimal value) {
            addCriterion("fanxianyue >", value, "fanxianyue");
            return (Criteria) this;
        }

        public Criteria andFanxianyueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fanxianyue >=", value, "fanxianyue");
            return (Criteria) this;
        }

        public Criteria andFanxianyueLessThan(BigDecimal value) {
            addCriterion("fanxianyue <", value, "fanxianyue");
            return (Criteria) this;
        }

        public Criteria andFanxianyueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fanxianyue <=", value, "fanxianyue");
            return (Criteria) this;
        }

        public Criteria andFanxianyueIn(List<BigDecimal> values) {
            addCriterion("fanxianyue in", values, "fanxianyue");
            return (Criteria) this;
        }

        public Criteria andFanxianyueNotIn(List<BigDecimal> values) {
            addCriterion("fanxianyue not in", values, "fanxianyue");
            return (Criteria) this;
        }

        public Criteria andFanxianyueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fanxianyue between", value1, value2, "fanxianyue");
            return (Criteria) this;
        }

        public Criteria andFanxianyueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fanxianyue not between", value1, value2, "fanxianyue");
            return (Criteria) this;
        }

        public Criteria andFanxainlvIsNull() {
            addCriterion("fanxainlv is null");
            return (Criteria) this;
        }

        public Criteria andFanxainlvIsNotNull() {
            addCriterion("fanxainlv is not null");
            return (Criteria) this;
        }

        public Criteria andFanxainlvEqualTo(BigDecimal value) {
            addCriterion("fanxainlv =", value, "fanxainlv");
            return (Criteria) this;
        }

        public Criteria andFanxainlvNotEqualTo(BigDecimal value) {
            addCriterion("fanxainlv <>", value, "fanxainlv");
            return (Criteria) this;
        }

        public Criteria andFanxainlvGreaterThan(BigDecimal value) {
            addCriterion("fanxainlv >", value, "fanxainlv");
            return (Criteria) this;
        }

        public Criteria andFanxainlvGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fanxainlv >=", value, "fanxainlv");
            return (Criteria) this;
        }

        public Criteria andFanxainlvLessThan(BigDecimal value) {
            addCriterion("fanxainlv <", value, "fanxainlv");
            return (Criteria) this;
        }

        public Criteria andFanxainlvLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fanxainlv <=", value, "fanxainlv");
            return (Criteria) this;
        }

        public Criteria andFanxainlvIn(List<BigDecimal> values) {
            addCriterion("fanxainlv in", values, "fanxainlv");
            return (Criteria) this;
        }

        public Criteria andFanxainlvNotIn(List<BigDecimal> values) {
            addCriterion("fanxainlv not in", values, "fanxainlv");
            return (Criteria) this;
        }

        public Criteria andFanxainlvBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fanxainlv between", value1, value2, "fanxainlv");
            return (Criteria) this;
        }

        public Criteria andFanxainlvNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fanxainlv not between", value1, value2, "fanxainlv");
            return (Criteria) this;
        }

        public Criteria andCreateidIsNull() {
            addCriterion("createid is null");
            return (Criteria) this;
        }

        public Criteria andCreateidIsNotNull() {
            addCriterion("createid is not null");
            return (Criteria) this;
        }

        public Criteria andCreateidEqualTo(Integer value) {
            addCriterion("createid =", value, "createid");
            return (Criteria) this;
        }

        public Criteria andCreateidNotEqualTo(Integer value) {
            addCriterion("createid <>", value, "createid");
            return (Criteria) this;
        }

        public Criteria andCreateidGreaterThan(Integer value) {
            addCriterion("createid >", value, "createid");
            return (Criteria) this;
        }

        public Criteria andCreateidGreaterThanOrEqualTo(Integer value) {
            addCriterion("createid >=", value, "createid");
            return (Criteria) this;
        }

        public Criteria andCreateidLessThan(Integer value) {
            addCriterion("createid <", value, "createid");
            return (Criteria) this;
        }

        public Criteria andCreateidLessThanOrEqualTo(Integer value) {
            addCriterion("createid <=", value, "createid");
            return (Criteria) this;
        }

        public Criteria andCreateidIn(List<Integer> values) {
            addCriterion("createid in", values, "createid");
            return (Criteria) this;
        }

        public Criteria andCreateidNotIn(List<Integer> values) {
            addCriterion("createid not in", values, "createid");
            return (Criteria) this;
        }

        public Criteria andCreateidBetween(Integer value1, Integer value2) {
            addCriterion("createid between", value1, value2, "createid");
            return (Criteria) this;
        }

        public Criteria andCreateidNotBetween(Integer value1, Integer value2) {
            addCriterion("createid not between", value1, value2, "createid");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNull() {
            addCriterion("createdate is null");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNotNull() {
            addCriterion("createdate is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedateEqualTo(Date value) {
            addCriterion("createdate =", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotEqualTo(Date value) {
            addCriterion("createdate <>", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThan(Date value) {
            addCriterion("createdate >", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThanOrEqualTo(Date value) {
            addCriterion("createdate >=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThan(Date value) {
            addCriterion("createdate <", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThanOrEqualTo(Date value) {
            addCriterion("createdate <=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateIn(List<Date> values) {
            addCriterion("createdate in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotIn(List<Date> values) {
            addCriterion("createdate not in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateBetween(Date value1, Date value2) {
            addCriterion("createdate between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotBetween(Date value1, Date value2) {
            addCriterion("createdate not between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andChongjianIsNull() {
            addCriterion("chongjian is null");
            return (Criteria) this;
        }

        public Criteria andChongjianIsNotNull() {
            addCriterion("chongjian is not null");
            return (Criteria) this;
        }

        public Criteria andChongjianEqualTo(BigDecimal value) {
            addCriterion("chongjian =", value, "chongjian");
            return (Criteria) this;
        }

        public Criteria andChongjianNotEqualTo(BigDecimal value) {
            addCriterion("chongjian <>", value, "chongjian");
            return (Criteria) this;
        }

        public Criteria andChongjianGreaterThan(BigDecimal value) {
            addCriterion("chongjian >", value, "chongjian");
            return (Criteria) this;
        }

        public Criteria andChongjianGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("chongjian >=", value, "chongjian");
            return (Criteria) this;
        }

        public Criteria andChongjianLessThan(BigDecimal value) {
            addCriterion("chongjian <", value, "chongjian");
            return (Criteria) this;
        }

        public Criteria andChongjianLessThanOrEqualTo(BigDecimal value) {
            addCriterion("chongjian <=", value, "chongjian");
            return (Criteria) this;
        }

        public Criteria andChongjianIn(List<BigDecimal> values) {
            addCriterion("chongjian in", values, "chongjian");
            return (Criteria) this;
        }

        public Criteria andChongjianNotIn(List<BigDecimal> values) {
            addCriterion("chongjian not in", values, "chongjian");
            return (Criteria) this;
        }

        public Criteria andChongjianBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("chongjian between", value1, value2, "chongjian");
            return (Criteria) this;
        }

        public Criteria andChongjianNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("chongjian not between", value1, value2, "chongjian");
            return (Criteria) this;
        }

        public Criteria andModeIsNull() {
            addCriterion("mode is null");
            return (Criteria) this;
        }

        public Criteria andModeIsNotNull() {
            addCriterion("mode is not null");
            return (Criteria) this;
        }

        public Criteria andModeEqualTo(Integer value) {
            addCriterion("mode =", value, "mode");
            return (Criteria) this;
        }

        public Criteria andModeNotEqualTo(Integer value) {
            addCriterion("mode <>", value, "mode");
            return (Criteria) this;
        }

        public Criteria andModeGreaterThan(Integer value) {
            addCriterion("mode >", value, "mode");
            return (Criteria) this;
        }

        public Criteria andModeGreaterThanOrEqualTo(Integer value) {
            addCriterion("mode >=", value, "mode");
            return (Criteria) this;
        }

        public Criteria andModeLessThan(Integer value) {
            addCriterion("mode <", value, "mode");
            return (Criteria) this;
        }

        public Criteria andModeLessThanOrEqualTo(Integer value) {
            addCriterion("mode <=", value, "mode");
            return (Criteria) this;
        }

        public Criteria andModeIn(List<Integer> values) {
            addCriterion("mode in", values, "mode");
            return (Criteria) this;
        }

        public Criteria andModeNotIn(List<Integer> values) {
            addCriterion("mode not in", values, "mode");
            return (Criteria) this;
        }

        public Criteria andModeBetween(Integer value1, Integer value2) {
            addCriterion("mode between", value1, value2, "mode");
            return (Criteria) this;
        }

        public Criteria andModeNotBetween(Integer value1, Integer value2) {
            addCriterion("mode not between", value1, value2, "mode");
            return (Criteria) this;
        }

        public Criteria andMiaoshuIsNull() {
            addCriterion("miaoshu is null");
            return (Criteria) this;
        }

        public Criteria andMiaoshuIsNotNull() {
            addCriterion("miaoshu is not null");
            return (Criteria) this;
        }

        public Criteria andMiaoshuEqualTo(String value) {
            addCriterion("miaoshu =", value, "miaoshu");
            return (Criteria) this;
        }

        public Criteria andMiaoshuNotEqualTo(String value) {
            addCriterion("miaoshu <>", value, "miaoshu");
            return (Criteria) this;
        }

        public Criteria andMiaoshuGreaterThan(String value) {
            addCriterion("miaoshu >", value, "miaoshu");
            return (Criteria) this;
        }

        public Criteria andMiaoshuGreaterThanOrEqualTo(String value) {
            addCriterion("miaoshu >=", value, "miaoshu");
            return (Criteria) this;
        }

        public Criteria andMiaoshuLessThan(String value) {
            addCriterion("miaoshu <", value, "miaoshu");
            return (Criteria) this;
        }

        public Criteria andMiaoshuLessThanOrEqualTo(String value) {
            addCriterion("miaoshu <=", value, "miaoshu");
            return (Criteria) this;
        }

        public Criteria andMiaoshuLike(String value) {
            addCriterion("miaoshu like", value, "miaoshu");
            return (Criteria) this;
        }

        public Criteria andMiaoshuNotLike(String value) {
            addCriterion("miaoshu not like", value, "miaoshu");
            return (Criteria) this;
        }

        public Criteria andMiaoshuIn(List<String> values) {
            addCriterion("miaoshu in", values, "miaoshu");
            return (Criteria) this;
        }

        public Criteria andMiaoshuNotIn(List<String> values) {
            addCriterion("miaoshu not in", values, "miaoshu");
            return (Criteria) this;
        }

        public Criteria andMiaoshuBetween(String value1, String value2) {
            addCriterion("miaoshu between", value1, value2, "miaoshu");
            return (Criteria) this;
        }

        public Criteria andMiaoshuNotBetween(String value1, String value2) {
            addCriterion("miaoshu not between", value1, value2, "miaoshu");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
